package com.hengpeng.itfin.job;

import com.hengpeng.common.cis.ComponentContextLoader;
import com.hengpeng.common.scheduling.AbstractJob;
import com.hengpeng.common.scheduling.ScheduleConfig;
import com.hengpeng.itfin.service.AccountLogService;

public class AccountLogReportJob extends AbstractJob
{
	@Override
	public void exec(boolean isTimeout, ScheduleConfig config)
	{
		log.info("平台账户日交易结算统计开始执行");
		AccountLogService service = ComponentContextLoader.getBean(AccountLogService.class);
		try
		{
			service.paltformAccountDaily();
		}
		catch (Exception e)
		{
			log.info("平台账户日交易结算统计异常", e);
		}
		log.info("平台账户日交易结算统计结束执行");
	}
}
